/******************************************************************************
 * @File name   :      ITempUserUsrGrpDao.java
 *
 * @Author      :      Brenda Yin
 *
 * @Date        :      2011-6-21
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who        Version        Comments
 * 2011-6-21 下午04:37:34        Brenda Yin    1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.framework.dm.employeemgnt.dao;

import com.cap.bts.framework.dm.employeemgnt.domain.TempUserUsrGrp;

import com.cap.bts.framework.common.dao.IBaseDao;

/**
 *
 */
public interface ITempUserUsrGrpDao extends IBaseDao<TempUserUsrGrp, Long> {
    /**
     * 根据用户ID查询待审批岗位
     * @Date        :      2011-6-21
     * @param userCode
     * @return
     */
    public TempUserUsrGrp getTempUserUsrGroupsByUserId(Long userId);
    /**
     * 根据用户Id、groupId删除用户岗位临时表
     * @Date        :      2011-6-22
     * @param groupId
     * @param userId
     */
    public void deleteTempUserUsrGrpByGroupIdIdAndUserId(Long groupId,Long userId);
    
    /**
     * 根据用户Id删除用户岗位临时表
     * @Date        :      2011-6-29
     * @param userId long 
     */
    public void deleteTempUserUsrGrpByUserId(Long userId);
}
